﻿using System;
using System.Collections.Generic;
using ExpenseSystem.Common.BaseModel;

namespace ExpenseSystem.Model
{
    [TableName("SAM_TITLEQUOTE")]
    public class TitleQuoteModel:NormalModel
    {
        private long _quoteid;
        private long _titleid;
        public virtual long QuoteId
        {
            get { return _quoteid; }
            set
            {
                if (_quoteid == value)
                    return;
                _quoteid = value;
                if (!PropertyUpdated.Contains("QuoteId"))
                    PropertyUpdated.Add("QuoteId");
            }
        }
        public virtual long TitleId
        {
            get { return _titleid; }
            set
            {
                if (_titleid == value)
                    return;
                _titleid = value;
                if (!PropertyUpdated.Contains("TitleId"))
                    PropertyUpdated.Add("TitleId");
            }
        }
    }
}
